--------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  ...\1805 Roadmaps\Table A8 any info.log
  log type:  text
 opened on:   8 May 2018, 15:35:39

. 
. set seed X74eb8d3d2a170360c16003ffac21a9f700040757

. 
. 
. probit vote_leemar ///
>      all_info all_info_D1 ///
>      d1

Iteration 0:   log likelihood = -233.52966  
Iteration 1:   log likelihood = -206.93629  
Iteration 2:   log likelihood = -206.90119  
Iteration 3:   log likelihood = -206.90119  

Probit regression                                 Number of obs   =        344
                                                  LR chi2(3)      =      53.26
                                                  Prob > chi2     =     0.0000
Log likelihood = -206.90119                       Pseudo R2       =     0.1140

------------------------------------------------------------------------------
 vote_leemar |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    all_info |    -.15945   .2189394    -0.73   0.466    -.5885634    .2696634
 all_info_D1 |   .4269514   .2583414     1.65   0.098    -.0793885    .9332914
          d1 |   .3651083   .2294296     1.59   0.112    -.0845654    .8147821
       _cons |  -.4616569    .192599    -2.40   0.017    -.8391439   -.0841698
------------------------------------------------------------------------------

. 
. tabstat d1 if e(sample), s(n mean sd min p25 p50 p75 max)

    variable |         N      mean        sd       min       p25       p50       p75       max
-------------+--------------------------------------------------------------------------------
          d1 |       344   .482125  .7398629    -1.848     .0415      .486     1.026     1.978
----------------------------------------------------------------------------------------------

. 
. 
. estsimp probit vote_leemar ///
>      all_info all_info_D1 ///
>      d1

Iteration 0:   log likelihood = -233.52966
Iteration 1:   log likelihood = -207.27063
Iteration 2:   log likelihood = -206.90143
Iteration 3:   log likelihood = -206.90119

Probit regression                                 Number of obs   =        344
                                                  LR chi2(3)      =      53.26
                                                  Prob > chi2     =     0.0000
Log likelihood = -206.90119                       Pseudo R2       =     0.1140

------------------------------------------------------------------------------
 vote_leemar |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    all_info |    -.15945   .2189394    -0.73   0.466    -.5885634    .2696633
 all_info_D1 |   .4269514   .2583414     1.65   0.098    -.0793884    .9332913
          d1 |   .3651083   .2294296     1.59   0.112    -.0845654    .8147821
       _cons |  -.4616569    .192599    -2.40   0.017    -.8391439   -.0841698
------------------------------------------------------------------------------

Simulating main parameters.  Please wait....
% of simulations completed: 25% 50% 75% 100% 

Number of simulations  : 1000
Names of new variables : b1 b2 b3 b4

. 
. 
. setx median

. setx d1 .448

. setx all_info 0

. setx all_info_D1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

--------------------------------------
   Variable |    Value     Description
------------+-------------------------
   all_info |      0            0     
all_info_D1 |      0            0     
         d1 |   .448           .448   
--------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .6157045     .0621047     .4935885    .7278943
            Pr(vote_l~r=1) |   .3842955     .0621047     .2721057    .5064115

. 
. simqi, fd(prval(1) genpr(fd_con)) changex(d1 .017 1.021)

First Difference: d1 .017 1.021

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   .1386523      .086606    -.0358309    .3126792

Simqi generated the following new variable(s): fd_con

. 
. 
. setx d1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

--------------------------------------
   Variable |    Value     Description
------------+-------------------------
   all_info |      0            0     
all_info_D1 |      0            0     
         d1 |      0            0     
--------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .6750132     .0710214     .5243964    .7990077
            Pr(vote_l~r=1) |   .3249868     .0710214     .2009924    .4756036

. 
. simqi, fd(prval(1) genpr(tr_all_info_con)) changex(all_info 0 1)

First Difference: all_info 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |  -.0561067     .0789396    -.2145286    .0845728

Simqi generated the following new variable(s): tr_all_info_con

. 
. 
. setx median

. setx all_info 1

. setx all_info_D1 .448

. simqi, pr listx

You have set the following values for the explanatory variables:

--------------------------------------
   Variable |    Value     Description
------------+-------------------------
   all_info |        1          1     
all_info_D1 |     .448         .448   
         d1 |     .486        median  
--------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .5983481     .0320016     .5371794    .6616539
            Pr(vote_l~r=1) |   .4016519     .0320016     .3383462    .4628206

. 
. simqi, fd(prval(1) genpr(fd_all_info)) changex(d1 .017 1.021 all_info_D1 .017 1.021)

First Difference: d1 .017 1.021 all_info_D1 .017 1.021

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   .3021711     .0435559     .2195523    .3890843

Simqi generated the following new variable(s): fd_all_info

. 
. 
. setx d1 0

. setx all_info_D1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

--------------------------------------
   Variable |    Value     Description
------------+-------------------------
   all_info |      1            1     
all_info_D1 |      0            0     
         d1 |      0            0     
--------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .7311199     .0353039      .657769     .796579
            Pr(vote_l~r=1) |   .2688801     .0353039      .203421     .342231

. 
. 
. * Difference in baseline probabilities
. 
. tabstat tr_all_info_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
tr_all_inf~n | -.0561067  .0789396 -.2989233 -.1902773 -.1649259 -.0512223    .04269  .0635354   .177255
--------------------------------------------------------------------------------------------------------

. 
. 
. * Calculate difference in first differences
. 
. gen dif_all_info_con = fd_all_info - fd_con

. 
. tabstat dif_all_info_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_all_in~n |  .1635188  .0960141 -.1720923  .0079008  .0408435  .1632164  .2881104  .3261463  .4604757
--------------------------------------------------------------------------------------------------------

. 
. 
. drop b1-b4

. drop fd_con-dif_all_info_con

. 
. log close
      name:  <unnamed>
       log:  ...\1805 Roadmaps\Table A8 any info.log
  log type:  text
 closed on:   8 May 2018, 15:35:40
--------------------------------------------------------------------------------------------------------------------------
